package com.example.demo.dao.mapper;

import com.example.demo.dao.model.TestBean;
import com.example.demo.dao.model.TestBeanCriteria;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface TestBeanMapper {
    long countByCriteria(TestBeanCriteria Criteria);

    int deleteByCriteria(TestBeanCriteria Criteria);

    int deleteByPrimaryKey(Integer id);

    int insert(TestBean record);

    int insertSelective(TestBean record);

    List<TestBean> selectByCriteriaWithBLOBs(TestBeanCriteria Criteria);

    List<TestBean> selectByCriteria(TestBeanCriteria Criteria);

    TestBean selectByPrimaryKey(Integer id);

    int updateByCriteriaSelective(@Param("record") TestBean record, @Param("example") TestBeanCriteria Criteria);

    int updateByCriteriaWithBLOBs(@Param("record") TestBean record, @Param("example") TestBeanCriteria Criteria);

    int updateByCriteria(@Param("record") TestBean record, @Param("example") TestBeanCriteria Criteria);

    int updateByPrimaryKeySelective(TestBean record);

    int updateByPrimaryKeyWithBLOBs(TestBean record);

    int updateByPrimaryKey(TestBean record);
}